package com.sihai.ehr.model.biz;

import javax.persistence.*;

/**
 * @author wxn
 * @since 13-4-03 10:24
 *
 * 异动审核表
 */
@Entity
@DiscriminatorValue("audit_transaction")
public class TransactionAuditing extends AuditingBase {

    @ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "transaction_id")
	private Transaction transaction; /* 异动对象 */

    public Transaction getTransaction() {
        return transaction;
    }

    public void setTransaction(Transaction transaction) {
        this.transaction = transaction;
    }
}
